package cn.wolfcode.service;

import cn.wolfcode.domain.Product;
import cn.wolfcode.qo.QueryObject;
import cn.wolfcode.qo.pageResult;

import java.util.List;

/**
 * @ClassName IProductService
 * @Description TODO
 * @Author wdx
 * @Date 2023/3/31 0:18
 */
public interface IProductService {
    void delete(Long id);

    void insert(Product product);

    Product selectById(Long id);

    List<Product> selectAll();

    void update(Product product);


    pageResult<Product> Query(QueryObject qo);
}
